package cn.edu.scau.cmi.lijinzhao.chapter02;

public class MainClass1 {
   public static void main(String args[]) {
	   Teacher teacherOne,teacherTwo;
	   teacherOne=new Teacher();
	   teacherTwo=new Teacher();
	   teacherOne.a=12;
	   teacherOne.b=236;
	   double add=teacherOne.add();//������÷���
	   System.out.println("�ͣ�"+add);
	   
	   teacherTwo.a=234;
	   teacherTwo.b=120;
	   double sub=teacherTwo.sub();
	   System.out.println("�"+sub);
	   
	   Student studentOne;
	   	studentOne=new Student();//ע��ӣ����������һ�ַ���
	   	studentOne.fStudent();
   }
}
